<style>
    .title {
        font-size: 50px;
        color: #636b6f;
        font-family: 'Raleway', sans-serif;
        font-weight: 100;
        display: block;
        text-align: center;
        margin: 20px 0 10px 0px;
    }

    .links {
        text-align: center;
        margin-bottom: 20px;
    }

    .links > a {
        color: #636b6f;
        padding: 0 25px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .1rem;
        text-decoration: none;
        text-transform: uppercase;
    }
</style>

<div class="title">
    欢迎您
</div>
<div class="links">
    <h2 >{{date("Y-m-d")}}&nbsp;<span id="current_date">{{date("H:i:s")}}</span></h2>
    <h2>{{data_get(['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],date('w'))}}</h2>
</div>

<script>
    $(function(){
        setInterval("getTime();",1000); //每隔一秒执行一次
    })
    //取得系统当前时间
    function getTime(){
        var myDate = new Date();
        var hours = myDate.getHours();
        var minutes = myDate.getMinutes();
        var seconds = myDate.getSeconds();
        $("#current_date").html(hours+":"+minutes+":"+seconds);
    }
</script>
